<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
    <head>
        <!--
        Created by Artisteer v3.0.0.39952
        Base template (without user's data) checked by http://validator.w3.org : "This page is valid XHTML 1.0 Transitional"
        -->
        
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Welcome To PersonaFilm</title>
        <meta name="description" content="Description" />
        <meta name="keywords" content="Keywords" />


        <link rel="stylesheet" href="<?=base_url()?>css/style.css" type="text/css" />
        <link rel="stylesheet" href="<?=base_url()?>css/stylecss1.css" type="text/css" />
        <link rel="stylesheet" href="<?=base_url()?>css/stylecss2.css" type="text/css" />
        <link rel="stylesheet" href="<?=base_url()?>css/example.css" type="text/css" />
        <script type="text/javascript" src="<?=base_url()?>javascript/tabber.js"></script>
        <script type="text/javascript" src="<?=base_url()?>javascript/tabber-minimized.js"></script>
        
        <!--[if IE 6]><link rel="stylesheet" href="../css/style.ie6.css" type="text/css" media="screen" /><![endif]-->
        <!--[if IE 7]><link rel="stylesheet" href="../css/style.ie7.css" type="text/css" media="screen" /><![endif]-->

        <script type="text/javascript" src="jquery.js"></script>
        <script type="text/javascript" src="script.js"></script>
    </head>
    <body>
        <div id="art-main">
            <div class="art-header">
                <div class="art-header-clip">
                    <div class="art-header-center">
                        <div class="art-header-png"></div>
                        <div class="art-header-jpeg"></div>
                    </div>
                </div>
                <div class="art-header-wrapper">
                    <div class="art-header-inner">
                        <div class="art-logo">
                            <h1 class="art-logo-name"><a href="./index.html">PersonaFilm</a></h1>
                            <!--<h2 class="art-logo-text">Enter Site Slogan</h2>-->
                        </div>
                    </div>
                </div>
            </div>
            <div class="cleared reset-box"></div>
            <div class="art-nav">
                <div class="art-nav-outer">
                    <div class="art-nav-wrapper">
                        <div class="art-nav-inner">
                            <ul class="art-hmenu">
                                <li>
                                   <?php echo anchor ('PTControl/resultPT', 'Skor PT'); ?>
                                </li>
                                <li>
                                    <?php echo anchor ('recommendationControl/recommendation', 'Rekomendasi Film'); ?>
                                </li>
                                <li>
                                    <?php echo anchor ('feebackControl/showFeedbackPage', 'Feedback'); ?>
                                </li>
                                <li>
                                    <?php echo anchor ('userPageControl/logout', 'Logout'); ?>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cleared reset-box"></div>
            <div class="art-sheet">
                <div class="art-sheet-tl"></div>
                <div class="art-sheet-tr"></div>
                <div class="art-sheet-bl"></div>
                <div class="art-sheet-br"></div>
                <div class="art-sheet-tc"></div>
                <div class="art-sheet-bc"></div>
                <div class="art-sheet-cl"></div>
                <div class="art-sheet-cr"></div>
                <div class="art-sheet-cc"></div>
                <div class="art-sheet-body">
                    <div class="art-content-layout">
                        <div class="art-content-layout-row">
                            <div class="art-layout-cell art-content">
                                <div class="art-post">
                                    <div class="art-post-tl"></div>
                                    <div class="art-post-tr"></div>
                                    <div class="art-post-bl"></div>
                                    <div class="art-post-br"></div>
                                    <div class="art-post-tc"></div>
                                    <div class="art-post-bc"></div>
                                    <div class="art-post-cl"></div>
                                    <div class="art-post-cr"></div>
                                    <div class="art-post-cc"></div>
                                    <div class="art-post-body">
                                        <div class="art-post-inner art-article">
                                            
                                            <div class="cleared"></div> 
     <?php echo form_open('recommendationcontrol/recommendation'); ?>
					<?php $this->load->helper('array');?>
					<?php if ($detail != null){?>
	  <center><h2>Rekomendasi Film</h2></center>
	  <table>
	  	<tr>
	 	<td>
	 	<?php foreach ($detail as $film) { ?>
	 		<div class="movie-logo">
	 			<img src="<?=base_url()?>images/horror.png">
	 			<br/>
	 			<?php echo $film->TITLE; ?>
	 			<?php echo $film->YEAR; ?>
	 		</div>
	 		<?php }?>
	 	</td>
	 	<?php foreach ($plot as $pl) {?>
	 	<td><p><?php echo $pl->PLOTTEXT;?></p></td>	
	 	<?php } ?>
	 	<tr>
	 		<td>
	 		<?php for ($i = 0; $i < count($actor); $i++) {?>
	 			<div class="movie-cast">
	 					Aktor :<?php echo $actor[$i][0]->NAME; ?>
	 			</div>
	 		<?php }?>
	 		</td>
	 	</tr>
	 	<tr>
	 		<td>
	 		<?php for ($i = 0; $i < count($producer); $i++) {?>
	 					Producer :<?php echo $producer[$i][0]->NAME; ?>
	 		<?php }?>
	 		</td>
	 	</tr>
	 	<tr>
	 		<td>
	 		<?php for ($i = 0; $i < count($genre); $i++) {?>
						Genre :<?php echo $genre[$i]->GENRE; ?>
			<?php } ?>
			<?php } else{?>
						<br><?php echo $notif;?>
					<?php }?>         
	 		</td>
	 		<td style="float:right;">
	 			<?php echo form_submit('next', 'Next', 'id="next"'); ?>			
	 		</td>
	 	</tr>
	
  			</table>
  			</div>
                <div class="cleared"></div>

		<div class="cleared"></div>
    </div>
</div>
	
	
                      <div class="cleared"></div>
                    </div>
                </div>
            </div>
			<br />
            <div class="cleared"></div>
            <div class="art-footer">
                <div class="art-footer-t"></div>
                <div class="art-footer-l"></div>
                <div class="art-footer-b"></div>
                <div class="art-footer-r"></div>
                <div class="art-footer-body">
                    <a href="#" class="art-rss-tag-icon" title="RSS"></a>
                            <div class="art-footer-text">
                                <p><a href="#">Previous Page</a> | <a href="#">Next Page</a>
                                                            </div>
                    <div class="cleared"></div>
                </div>
            </div>
    		<div class="cleared"></div>
        </div>
    </div>
    <div class="cleared"></div>
    <p class="art-page-footer"><a href="http://www.2createawebsite.com/artisteer">Website Template created with Artisteer</a>.</p>
</div>

</body>
</html>